import httpRequest ,{requestJson} from '@/services'

export function queryReport(params) {
    return httpRequest({
      url: window.config.apiHost + "/report/eleRun/total",
      method: "get",
      params: {
        ...params
      },
    });
  }

  export function queryRunData(params) {
    return httpRequest({
      url: window.config.apiHost + "/report/eleRun/data",
      method: "get",
      params: {
        ...params
      },
    });
  }

  export function queryRunTimes(params) {
    return httpRequest({
      url: window.config.apiHost + "/report/eleRun/times",
      method: "get",
      params: {
        ...params
      },
    });
  }

  export function queryRunPCount(params) {
    return httpRequest({
      url: window.config.apiHost + "/report/eleRun/pCount",
      method: "get",
      params: {
        ...params
      },
    });
  }
  
  export function getElevatorList(params) {
    return httpRequest({
      url: window.config.apiHost + "/elevator/info/list",
      method: "get",
      params: {
        ...params
      },
    });
  }